package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"matching/controllers"
)

func init() {
	ns := beego.NewNamespace("/v1",
		beego.NSNamespace("/matching",
			beego.NSInclude(
				&controllers.MatchingController{},
			),
		),
		beego.NSNamespace("/order",
			beego.NSInclude(
				&controllers.OrderController{},
			),
		),

	)
	beego.AddNamespace(ns)
}

